func runtime.getg
261 uses
runtime (current package)
atomic_pointer.go#L23: if !getg().m.p.ptr().wbBuf.putFast(*slot, uintptr(new)) {
cgo_sigaction.go#L46: g = getg()
cgocall.go#L136: mp := getg().m
cgocall.go#L204: gp := getg()
cgocall.go#L254: gp := getg()
cgocheck.go#L35: g := getg()
chan.go#L237: gp := getg()
chan.go#L556: gp := getg()
checkptr.go#L81: if gp := getg(); gp.stack.lo <= uintptr(p) && uintptr(p) < gp.stack.hi {
debug.go#L89: g := getg()
debug.go#L108: g := getg()
debugcall.go#L28: if getg() != getg().m.curg {
debugcall.go#L31: if sp := getcallersp(); !(getg().stack.lo < sp && sp <= getg().stack.hi) {
debugcall.go#L105: gp := getg()
debugcall.go#L197: gp := getg()
debugcall.go#L206: getg().schedlink.set(callingG)
debuglog.go#L108: gp := getg()
heapdump.go#L696: _g_ := getg()
iface.go#L127: if getg().m.mallocing != 0 {
lock_futex.go#L51: gp := getg()
lock_futex.go#L123: gp := getg()
lock_futex.go#L148: gp := getg()
lock_futex.go#L173: gp := getg()
lock_futex.go#L219: gp := getg()
lock_futex.go#L230: gp := getg()
malloc.go#L950: if inittrace.active && inittrace.id == getg().goid {
malloc.go#L961: assistG = getg()
malloc.go#L982: if mp.gsignal == getg() {
malloc.go#L1191: if inittrace.active && inittrace.id == getg().goid {
malloc.go#L1242: if getg().preempt {
malloc.go#L1315: if g := getg(); g == g.m.gsignal {
mbitmap.go#L367: getg().m.traceback = 2
mbitmap.go#L602: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L644: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L670: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L731: buf := &getg().m.p.ptr().wbBuf
mbitmap.go#L2018: if _g_ := getg(); _g_.m.curg.stack.lo <= uintptr(p) && uintptr(p) < _g_.m.curg.stack.hi {
mbitmap.go#L2021: _g_ := getg()
mcheckmark.go#L85: getg().m.traceback = 2
mfinal.go#L174: gp := getg()
mgc.go#L274: p := getg().m.p.ptr()
mgc.go#L501: work.sweepWaiters.list.push(getg())
mgc.go#L581: if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
mgc.go#L799: gp := getg().m.curg
mgc.go#L842: getg().m.preemptoff = "gcing"
mgc.go#L871: getg().m.preemptoff = ""
mgc.go#L918: _g_ := getg()
mgc.go#L949: gcw := &getg().m.p.ptr().gcw
mgc.go#L951: wbBufFlush1(getg().m.p.ptr())
mgc.go#L1174: gp := getg()
mgc.go#L1628: gp := getg()
mgc.go#L1697: gp := getg()
mgcmark.go#L219: userG := getg().m.curg
mgcmark.go#L410: if getg() == gp.m.g0 {
mgcmark.go#L413: if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
mgcmark.go#L557: gcw := &getg().m.p.ptr().gcw
mgcmark.go#L620: gp := getg()
mgcmark.go#L739: if gp == getg() {
mgcmark.go#L1019: gp := getg().m.curg
mgcmark.go#L1137: gp := getg().m.curg
mgcmark.go#L1426: gcw := &getg().m.p.ptr().gcw
mgcmark.go#L1455: getg().m.traceback = 2
mgcmark.go#L1559: gcw := &getg().m.p.ptr().gcw
mgcpacer.go#L801: gp := getg()
mgcscavenge.go#L260: scavenge.g = getg()
mgcsweep.go#L272: sweep.g = getg()
mgcsweep.go#L333: gp := getg()
mgcsweep.go#L432: _g_ := getg()
mgcsweep.go#L471: _g_ := getg()
mgcsweep.go#L627: getg().m.p.ptr().traceReclaimed += uintptr(nfreed) * s.elemsize
mgcwork.go#L470: gp := getg().m.curg
mheap.go#L1033: pp := getg().m.p.ptr()
mheap.go#L1058: pp := getg().m.p.ptr()
mheap.go#L1090: pp := getg().m.p.ptr()
mheap.go#L1121: gp := getg()
mheap.go#L1525: gp := getg()
mprof.go#L419: gp := getg()
mprof.go#L761: gp := getg()
mprof.go#L854: gp := getg()
mprof.go#L858: g0 := getg()
mprof.go#L887: gp := getg()
mprof.go#L912: gp := getg()
mprof.go#L928: gp := getg()
mstats.go#L803: if pp := getg().m.p.ptr(); pp != nil {
mstats.go#L832: if pp := getg().m.p.ptr(); pp != nil {
mwbbuf.go#L179: if getg().m.dying > 0 {
mwbbuf.go#L183: getg().m.p.ptr().wbBuf.discard()
mwbbuf.go#L193: getg().m.p.ptr().wbBuf.discard()
mwbbuf.go#L201: wbBufFlush1(getg().m.p.ptr())
os_linux.go#L391: getg().m.procid = uint64(gettid())
os_linux.go#L605: mp := getg().m
os_linux.go#L762: releasem(getg().m)
os_linux.go#L824: gp := getg()
os_linux.go#L847: releasem(getg().m)
os_linux.go#L860: gp := getg()
panic.go#L39: gp := getg()
panic.go#L53: gp := getg()
panic.go#L231: gp := getg()
panic.go#L268: gp := getg()
panic.go#L409: gp := getg()
panic.go#L452: gp := getg()
panic.go#L759: gp := getg()
panic.go#L967: gp := getg()
panic.go#L988: gp := getg()
panic.go#L1041: gp := getg()
panic.go#L1068: gp := getg()
panic.go#L1115: _g_ := getg()
panic.go#L1177: _g_ := getg()
panic.go#L1219: _g_ := getg()
preempt.go#L106: if mp := getg().m; mp.curg != nil && readgstatus(mp.curg) == _Grunning {
preempt.go#L303: gp := getg()
print.go#L67: mp := getg().m
print.go#L77: mp := getg().m
print.go#L91: gp := getg()
proc.go#L146: g := getg()
proc.go#L195: inittrace.id = getg().goid
proc.go#L293: forcegc.g = getg()
proc.go#L434: gp := getg()
proc.go#L501: gp := getg()
proc.go#L679: _g_ := getg()
proc.go#L752: _g_ := getg()
proc.go#L785: _g_ := getg()
proc.go#L849: _g_ := getg()
proc.go#L1083: gp := getg()
proc.go#L1175: _g_ := getg()
proc.go#L1351: _g_ := getg()
proc.go#L1392: _g_ := getg()
proc.go#L1448: gp := getg()
proc.go#L1464: g := getg()
proc.go#L1578: _p_ := getg().m.p.ptr()
proc.go#L1669: p := getg().m.p.ptr()
proc.go#L1713: _g_ := getg()
proc.go#L1853: _g_ := getg()
proc.go#L1962: mp := getg().m
proc.go#L1991: return uintptr(unsafe.Pointer(getg().m))
proc.go#L2093: if gp := getg(); gp != nil && gp.m != nil && (gp.m.lockedExt != 0 || gp.m.incgo) && GOOS != "plan9" {
proc.go#L2119: releasem(getg().m)
proc.go#L2123: releasem(getg().m)
proc.go#L2213: _g_ := getg()
proc.go#L2235: getg().m.spinning = true
proc.go#L2410: _g_ := getg()
proc.go#L2437: _g_ := getg()
proc.go#L2457: _g_ := getg()
proc.go#L2491: _g_ := getg()
proc.go#L2526: _g_ := getg()
proc.go#L2816: p := getg().m.p.ptr()
proc.go#L2836: pp := getg().m.p.ptr()
proc.go#L3024: _g_ := getg()
proc.go#L3080: pp := getg().m.p.ptr()
proc.go#L3112: _g_ := getg()
proc.go#L3237: _g_ := getg()
proc.go#L3274: if pp != getg().m.p.ptr() || int(atomic.Load(&pp.deletedTimers)) <= int(atomic.Load(&pp.numTimers)/4) {
proc.go#L3299: if pp == getg().m.p.ptr() && int(atomic.Load(&pp.deletedTimers)) > len(pp.timers)/4 {
proc.go#L3315: _g_ := getg()
proc.go#L3454: _g_ := getg()
proc.go#L3525: _g_ := getg()
proc.go#L3586: _g_ := getg()
proc.go#L3665: _g_ := getg()
proc.go#L3685: _g_ := getg()
proc.go#L3728: traceGoSysBlock(getg().m.p.ptr())
proc.go#L3746: _g_ := getg()
proc.go#L3820: _g_ := getg()
proc.go#L3864: _g_ := getg()
proc.go#L3945: gp := getg().m.curg
proc.go#L3965: gp := getg().m.curg
proc.go#L4001: msigrestore(getg().m.sigmask)
proc.go#L4053: gp := getg()
proc.go#L4058: _p_ := getg().m.p.ptr()
proc.go#L4071: _g_ := getg()
proc.go#L4313: _g_ := getg()
proc.go#L4341: _g_ := getg()
proc.go#L4352: getg().m.lockedInt++
proc.go#L4364: _g_ := getg()
proc.go#L4387: _g_ := getg()
proc.go#L4397: _g_ := getg()
proc.go#L4482: getg().m.mallocing++
proc.go#L4550: getg().m.mallocing--
proc.go#L4563: _g_ := getg()
proc.go#L4650: plocal := getg().m.p.ptr()
proc.go#L4699: mp := getg().m
proc.go#L4785: _g_ := getg()
proc.go#L4884: _g_ := getg()
proc.go#L4904: _g_ := getg()
proc.go#L5028: getg().m.throwing = -1 // do not dump full stacks
proc.go#L5303: if mp == nil || mp == getg().m {
proc.go#L6048: _g_ := getg()
proc.go#L6057: _g_ := getg()
proc.go#L6097: if p := getg().m.p.ptr(); !runqempty(p) {
proflabel.go#L34: getg().labels = labels
proflabel.go#L39: return getg().labels
rdebug.go#L18: _g_ := getg()
runtime1.go#L38: _g_ := getg()
runtime1.go#L468: _g_ := getg()
runtime1.go#L475: _g_ := getg()
rwmutex.go#L50: m := getg().m
rwmutex.go#L78: releasem(getg().m)
rwmutex.go#L85: m := getg().m
select.go#L290: gp = getg()
sema.go#L99: gp := getg()
sema.go#L195: if s.ticket == 1 && getg().m.locks == 0 {
sema.go#L235: s.g = getg()
sema.go#L499: s.g = getg()
signal_unix.go#L328: getg().m.profilehz = hz
signal_unix.go#L415: return getg()
signal_unix.go#L605: _g_ := getg()
signal_unix.go#L800: g := getg()
signal_unix.go#L1186: _g_ := getg()
signal_unix.go#L1207: nmask := getg().m.sigmask
signal_unix.go#L1220: if getg().m.newSigstack {
signal_unix.go#L1230: restoreGsignalStack(&getg().m.goSigStack)
signal_unix.go#L1274: g := getg()
signal_unix.go#L1293: gp := getg().m.gsignal
signal_unix.go#L1315: g := getg()
stack.go#L346: thisg := getg()
stack.go#L446: gp := getg()
stack.go#L626: getg().m.traceback = 2
stack.go#L868: gcController.addScannableStack(getg().m.p.ptr(), int64(newsize)-int64(old.hi-old.lo))
stack.go#L961: thisg := getg()
stack.go#L1166: if !(gp == getg().m.curg && getg() != getg().m.curg && s == _Grunning) {
stack.go#L1177: if gp == getg().m.curg && gp.m.libcallsp != 0 {
string.go#L126: stk := getg().stack
stubs.go#L24: func getg() *g
stubs.go#L127: mp := getg().m
time.go#L182: gp := getg()
time.go#L270: pp := getg().m.p.ptr()
time.go#L491: pp := getg().m.p.ptr()
time.go#L548: gp := getg()
time.go#L825: ppcur := getg().m.p.ptr()
time.go#L858: gp := getg()
time.go#L872: gp := getg()
trace.go#L216: _g_ := getg()
trace.go#L230: gp.tracelastp = getg().m.p
trace.go#L386: trace.lockOwner = getg()
trace.go#L412: trace.reader.set(getg())
trace.go#L540: if getg() == mp.curg {
trace.go#L604: _g_ := getg()
trace.go#L638: releasem(getg().m)
trace.go#L644: dolock := owner == nil || owner != getg().m.curg
trace.go#L991: traceEvent(traceEvProcStart, -1, uint64(getg().m.id))
trace.go#L1030: _p_ := getg().m.p.ptr()
trace.go#L1042: _p_ := getg().m.p.ptr()
trace.go#L1052: _p_ := getg().m.p.ptr()
trace.go#L1072: newg.tracelastp = getg().m.p
trace.go#L1079: _g_ := getg().m.curg
trace.go#L1097: _g_ := getg()
trace.go#L1103: _g_ := getg()
trace.go#L1116: _p_ := getg().m.p
trace.go#L1143: _g_ := getg().m.curg
traceback.go#L39: if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
traceback.go#L900: gp := getg()
traceback.go#L915: g := getg()
traceback.go#L1023: curgp := getg().m.curg
traceback.go#L1047: if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {
traceback.go#L1399: if panicking > 0 || getg().m.curg != getg() {
traceback.go#L1419: if panicking > 0 || getg().m.curg != getg() {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)